# Settings specified here will take precedence over those in config/environment.rb

# In the development environment your application's code is reloaded on
# every request.  This slows down response time but is perfect for development
# since you don't have to restart the webserver when you make code changes.
config.cache_classes = false

# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true

# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_view.debug_rjs                         = true
config.action_controller.perform_caching             = false

# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false

BKH_API_URL = "http://localhost:3000/api/"
BKH_IMAGE_URL = "http://localhost:3000/img/%s_%s_%s_%s.png"
BKH_WEB_PAGE_URL = "http://localhost:3000/web/%d/%d"
BKH_SPECIAL_LIMIT = 5
BKH_ITEM_LIMIT = 11
BKH_IS_SPECIAL = 1
BKH_IS_NOT_SPECIAL = 0
BKH_IS_COMPLETED = 1
BKH_IS_NOT_COMPLETED = 0

BKH_STATUS_SUCCESS = {'status'=> 1 ,'message'=>'success'}
BKH_STATUS_REGISTED = {'status'=> 100 ,'message'=>'registered'}
BKH_STATUS_MISSING = {'status'=> 101 ,'message'=>'missing'}
BKH_STATUS_COMPLETED = {'status'=> 102 ,'message'=>'completed'}
BKH_STATUS_ERROR = {'status'=> 900 ,'message'=>'error'}

